<template>
  <div class="myMenu">
    <div class="myItem">
      <el-link type="primary" :underline="false"
        style="font-size: 20px" @click="getMyBlog">
        我的博客
      </el-link>
    </div>
    <div class="myItem"></div>
    <div class="myItem" style="width: 180px;">
    </div>
  </div>
</template>

<script>
export default {
  name: "headerMenu",
  methods: {
    getMyBlog(){
      this.$router.push('/blogs');
    }
  }
}
</script>

<style scoped>
.myItem{
  /*height: 100%;*/
  /*width: 80px;*/
  /*margin-left: 5px;*/
  float: right;
  height: 100%;
  line-height: 50px;
  background: transparent;
  padding: 0;
  margin: 0;
}

.myMenu{
  display: flex;
  order: 2;
  margin:5px 10px 5px 50px;
  flex-grow: 1;
  height: 50px;
}
</style>